﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_FieldType
    {
        D_FieldType dal = new D_FieldType();
        public static B_FieldType CreateInstance()
        {
            return new B_FieldType();
        }
        public bool CreateOneFieldType(FieldType_Info FieldType_Info)
        {

            return dal.CreateOneFieldType(FieldType_Info);
        }
        public bool EditOneFieldType(FieldType_Info FieldType_Info)
        {

            return dal.EditOneFieldType(FieldType_Info);
        }
        public bool RemoveOneFieldType(int FieldTypeID)
        {

            return dal.RemoveOneFieldType(FieldTypeID);
        }
        public DataTable GetAllFieldType()
        {
            
            return dal.GetAllFieldType();
        }
        public FieldType_Info GetOneFieldType(int FieldTypeID)
        {
            
            return dal.GetOneFieldType(FieldTypeID);
        }
    }
}
